import request from '@/utils/request'

export default {
  getUserList() {
    return request({
      url: '/user/listOne',
      method: 'get'
    })
  },
  updateUser(user) {
    return request({
      url: '/users',
      method: 'put',
      data: user
    })
  }
}
